package com.example.mask.maskmobilesshop.service;

import com.baomidou.mybatisplus.service.IService;
import com.example.mask.maskmobilesshop.entity.Address;
import com.example.mask.maskmobilesshop.entity.Attribute;

import java.util.List;
import java.util.Map;

/**
 * 地址
 */
public interface AddressService extends IService<Address> {


    /***
     * 获取会员收货地址列表
     * @Title: findByMemberId
     * @param: @param memberId
     * @param: @return
     * @param: @throws Exception
     * @return: List<Address>
     */
    List<Address> findByMemberId (Long memberId) throws Exception;


    /**
     *
     * @param params
     */
    void updateDefaultAddress(Map<String, Object> params);
}
